package com.opennice.soukaoti.vo;

import java.util.HashSet;
import java.util.Set;

/**
 * PTitle entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class PTitle implements java.io.Serializable {

	// Fields

	private Integer ptId;
	private PaperTopic paperTopic;
	private Category category;
	private String ptName;
	private Double ptMark;
	private String ptRemark;
	private Integer ptKind;
	private Integer ptState;
	private Integer memberId;
	private Set PAnswers = new HashSet(0);

	// Constructors

	/** default constructor */
	public PTitle() {
	}

	/** minimal constructor */
	public PTitle(Integer ptId, String ptName, Double ptMark, Integer ptKind,
			Integer ptState) {
		this.ptId = ptId;
		this.ptName = ptName;
		this.ptMark = ptMark;
		this.ptKind = ptKind;
		this.ptState = ptState;
	}

	/** full constructor */
	public PTitle(Integer ptId, PaperTopic paperTopic, Category category,
			String ptName, Double ptMark, String ptRemark, Integer ptKind,
			Integer ptState, Integer memberId, Set PAnswers) {
		this.ptId = ptId;
		this.paperTopic = paperTopic;
		this.category = category;
		this.ptName = ptName;
		this.ptMark = ptMark;
		this.ptRemark = ptRemark;
		this.ptKind = ptKind;
		this.ptState = ptState;
		this.memberId = memberId;
		this.PAnswers = PAnswers;
	}

	// Property accessors

	public Integer getPtId() {
		return this.ptId;
	}

	public void setPtId(Integer ptId) {
		this.ptId = ptId;
	}

	public PaperTopic getPaperTopic() {
		return this.paperTopic;
	}

	public void setPaperTopic(PaperTopic paperTopic) {
		this.paperTopic = paperTopic;
	}

	public Category getCategory() {
		return this.category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public String getPtName() {
		return this.ptName;
	}

	public void setPtName(String ptName) {
		this.ptName = ptName;
	}

	public Double getPtMark() {
		return this.ptMark;
	}

	public void setPtMark(Double ptMark) {
		this.ptMark = ptMark;
	}

	public String getPtRemark() {
		return this.ptRemark;
	}

	public void setPtRemark(String ptRemark) {
		this.ptRemark = ptRemark;
	}

	public Integer getPtKind() {
		return this.ptKind;
	}

	public void setPtKind(Integer ptKind) {
		this.ptKind = ptKind;
	}

	public Integer getPtState() {
		return this.ptState;
	}

	public void setPtState(Integer ptState) {
		this.ptState = ptState;
	}

	public Integer getMemberId() {
		return this.memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public Set getPAnswers() {
		return this.PAnswers;
	}

	public void setPAnswers(Set PAnswers) {
		this.PAnswers = PAnswers;
	}

}